def ReplaceAllWeapons():
	ReplaceWeapons()
	ReplaceRangedWeapons()

def ReplaceMounts():
  entry = List.SelectedEntry
  entry.RemoveUpgradesByCategory('Mounts')
  List.Render()
  return True

def ReplaceWeapons():
  entry = List.SelectedEntry
  entry.RemoveUpgradesByCategory('Standard Weapons')
  List.Render()
  return True

def ReplaceRangedWeapons():
  entry = List.SelectedEntry
  entry.RemoveUpgradeByName('Repeater Crossbow')
  entry.RemoveUpgradeByName('Repeater Handbow')
  entry.RemoveUpgradeByName('Pair ofRepeater Handbows')
  List.Render()
  return True

def ReplaceArmour():
  entry = List.SelectedEntry
  entry.RemoveUpgradeByName('Light Armour')
  entry.RemoveUpgradeByName('Heavy Armour')
  List.Render()
  return True

def TagAllWarriors():
  for entry in List.GetEntries().GetEntriesByName('Dark Elf Warriors'):
  	entry.SetTag('Test','You got tagged')
